package com.prd.dto;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * <p>
 * 工作交接记录表
 * </p>
 *
 * @author lizhaoyi
 * @since 2024-01-03
 */
@Data
@ApiModel(value="OaDepartWorkHandoverDO对象", description="工作交接记录表")
public class OaDepartWorkHandoverDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键id")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    @ApiModelProperty(value = "交接主题")
    private String handoverTitle;

    @ApiModelProperty(value = "交接内容")
    private String handoverText;

    @ApiModelProperty(value = "归属部门")
    private String dept;

    @ApiModelProperty(value = "接手人")
    private String takeoverPerson;

    @ApiModelProperty(value = "监交人")
    private String supervisor;

    @ApiModelProperty(value = "交接时间")
    private Date handoverDatetime;

    @ApiModelProperty(value = "离职数据表id")
    private Long departId;

    @ApiModelProperty(value = "接收人确认")
    private String takeoverConfirm;

    @ApiModelProperty(value = "接收人确认时间")
    private Date takeoverConfirmTime;

    @ApiModelProperty(value = "监交人确认")
    private String supervisorConfirm;

    @ApiModelProperty(value = "监交人确认时间")
    private Date supervisorConfirmTiime;

    @ApiModelProperty(value = "创建人")
    private String createdBy;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createdTime;

    @ApiModelProperty(value = "修改人")
    private String updateBy;

    @ApiModelProperty(value = "修改时间")
    private LocalDateTime updateTime;


}
